// 16
package org.hwadee.dto;

import com.github.pagehelper.Page;
import org.hwadee.entity.Communication;

import java.util.HashMap;
import java.util.List;

public class FlowloadUtils {

    public static HashMap<String, Object> buildResult(int pages, List<Communication> list) {
        HashMap<String, Object> result = new HashMap<>();
        result.put("code", 0);
        result.put("msg", "");
        result.put("pages", pages);
        result.put("list", list);
        return result;
    }
}